﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditDoctor.aspx.cs" Inherits="RegisterWeb.Manager.DoctorPersonalCenter.EditDoctor" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="../../js/jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.2.6/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.2.6/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/jquery.MultiFile.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.2.6/jquery.MultiFile.pack.js" type="text/javascript"></script>

    <script type="text/javascript">

        $(function () {
            //    $('#Doctor_DateOfBirth').datebox({
            //required: true,
            //   currentText: '今天',
            //  closeText: '关闭'

            // });
            $('#Doctor_Picture').MultiFile({
                accept: 'gif|jpg', max: 3, STRING: {
                    remove: 'Remover',
                    selected: 'Selecionado: $file',
                    denied: 'Invalido arquivo de tipo $ext!',
                    duplicate: 'Arquivo ja selecionado:\n$file!'
                }
            });

        });
    </script>
</head>
<body>
    <form id="edit"  method="post">
    <div class="ftitle">更新医生信息</div>
     <div class="fitem">
         <label>所在科室:</label>
     <select id="Departments_ID" name="Departments_ID"   style="width:150px;">
     </select>
 
     <script type="text/javascript">

         $('#Departments_ID').combobox({

             url: 'ashx/DoctorHandler.ashx?action=departments',
             valueField: 'Departments_ID',
             textField: 'Departments_Name',
             panelHeight: "auto"
         });
             
        </script>
  
    <label>医生姓名：</label>
    <input type="text" name="Doctor_Name"  validType="length[0,20]"  id="Doctor_Name" class="easyui-validatebox" required="true"  />
    </div>
    <div class="fitem">
    <label>性别</label>
     <select id="Doctor_Gender" name="Doctor_Gender"  required="true" style="width:150px;">
     </select>
     <script type="text/javascript">

         $('#Doctor_Gender').combobox({
             url: 'ashx/DoctorHandler.ashx?action=gender',
             valueField: 'Gender_ID',
             textField: 'Gender_Name',
             panelHeight: "auto"
         });
             
        </script>
 
    <label>出生日期：</label>
    <input type="text" name="Doctor_DateOfBirth" id="Doctor_DateOfBirth"  required="true"  class="easyui-datebox" 
               currentText="今天"
              closeText="关闭"   />
 </div>   
 <div class="fitem">
    <label>职称：</label>
     <select id="Doctor_Position" name="Doctor_Position"  required="true" style="width:150px;">
     </select>
     <script type="text/javascript">

         $('#Doctor_Position').combobox({
             url: 'ashx/DoctorHandler.ashx?action=position',
             valueField: 'SystemParameter_ID',
             textField: 'SystemParameter_Name',
             panelHeight: "auto"
         });
             
        </script>
    <label>教育程度：</label>
         <select id="Doctor_Education" name="Doctor_Education"  required="true" style="width:150px;">
     </select>
     <script type="text/javascript">

         $('#Doctor_Education').combobox({
             url: 'ashx/DoctorHandler.ashx?action=education',
             valueField: 'SystemParameter_ID',
             textField: 'SystemParameter_Name',
             panelHeight: "auto"
         });
             
        </script>
       </div>
    <div class="fitem">
    <label>联系电话：</label>
    <input type="text" name="Doctor_Phone"  validType="length[0,11]"  id="Doctor_Phone" class="easyui-validatebox" required="true"  />
    <label>邮箱：</label>
 
    <input type="text" name="Doctor_Email" id="Doctor_Email"  validType="email"  class="easyui-validatebox" required="true"  />
    </div>
       <div class="fitem">
    <label>专长：</label>
    <textarea name="Doctor_Specialty" id="Doctor_Specialty"  validType="length[0,100]"  class="easyui-validatebox"   cols="48" rows="3" style="font-size:small" />
    </div>
    <div class="fitem">
    <label>个人简介：</label>
    <textarea name="Doctor_Resume" id="Doctor_Resume" class="easyui-validatebox"  validType="length[0,200]"   cols="48" rows="3" style="font-size:small" />
    </div>
    <div class="fitem">
    <label>更新图片：</label>
     <input type="file" id="Doctor_Picture"  name="Doctor_Picture" />  <span class="error" id="Span7"></span>
    </div>
       <div class="fitem">
    <label>更新者：</label>
    <input type="text" name="Hospital_Recoder" id="Hospital_Recoder" class="easyui-validatebox" required="true"  />
    </div>

    </form>
</body>
</html>


    
    </div>
    </form>
</body>
</html>
